package com.itheima.多态.多态的三种表现形式.抽象类多态;

/**
 * @Author 王加鑫
 * @Date 2021/5/9 9:50
 * @Version 1.0
 */
public class Demo1 {
    public static void main(String[] args) {
        Animal animal = new Dog();
        animal.eat();
    }
}
